from functools import wraps


def my_decorator(func):
    @wraps(func)
    def wrapper(*args):
        return func(args)

    return wrapper


@my_decorator
def greet(name):
    """这个函数是用来输出打招呼的工具函数"""
    print("Hello", name)


print(greet.__name__)
print(greet.__doc__)
